<?php 
/**
 * TODO: Just draft
 * Date: 2009.02.07
 * http://framework.zend.com/wiki/display/ZFPROP/Zend_View_Helper_IndentLines
 */ 
class Clu_View_Helper_HvnUrl //extends Zend_View_Helper_Url
{ 
    public function hvnUrl (array $urlOptions = array(), $name = null, $reset = false, $encode = true)
    {
    	$sess = new Zend_Session_Namespace(CLU_NS);
		if (!isset($urlOptions['lang']))
			$urlOptions['lang'] = $sess->viewLang;
			
		$router = Zend_Controller_Front::getInstance()->getRouter();
        return $router->assemble($urlOptions, $name, $reset, $encode);
			
    	//return parent::url($urlOptions , $name , $reset , $encode );
	} 
}
?>